WeDevs\Dokan\REST\WithdrawController B

Total Complexity 89
Dependencies 7
Dependents 0
Total lines 1,074
Lines of code 671
Logical lines of code 249
Comment lines 261
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
get_items()
A
37 13 71
batch_items()
A
42 12 61
update_item()
A
44 12 44
create_item()
A
42 9 52
register_routes()
A
34 1 127
format_collection_response()
S
51 7 25
prepare_item_for_response()
S
48 6 30
get_item_schema()
S
41 1 68
delete_item()
S
60 3 13
get_item_permissions_check()
S
63 3 11
withdraw_exists()
S
62 3 11
get_public_batch_schema()
S
48 1 40
get_method_charge()
S
54 2 21
get_payment_method_item_schema()
S
54 1 24
get_payment_method_items()
S
63 2 10
create_item_permissions_check()
S
79 2 3
get_balance()
S
60 1 13
prepare_links()
S
63 1 11
get_items_permissions_check()
S
80 1 3
get_user_data()
S
76 1 4
batch_items_permissions_check()
S
80 1 3
get_payment_method_items_permissions_check()
S
80 1 3
get_all_method_charges()
S
76 1 4
delete_item_permissions_check()
S
80 1 3
prepare_payment_method_item_for_response()
S
66 1 8
update_item_permissions_check()
S
80 1 3
get_item()
S
72 1 5